﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="VMuktiGrid.CustomMenu.ctlPgTabHeader"
    Height="Auto" Background="{x:Null}" FontSize="18" Foreground="{x:Null}" 
    HorizontalAlignment="Stretch" Padding="0,0,0,5">
    
    <Grid Width="Auto" HorizontalAlignment="Stretch">
        <Border HorizontalAlignment="Left" Margin="0,0,0,0" BorderThickness="0,0,0,0" Padding="0,0,0,0" Grid.Column="1">
            <Border.BorderBrush>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#B2515151" Offset="0"/>
                    <GradientStop Color="#80FFFFFF" Offset="1"/>
                </LinearGradientBrush>
            </Border.BorderBrush>
            <TextBlock FontFamily="Berlin Sans FB" FontSize="12" Foreground="Black" Text="TextBlock" TextWrapping="Wrap" Cursor="Hand" Width="Auto" Height="15" Padding="1,1,1,1" FontWeight="Normal" Background="{x:Null}" HorizontalAlignment="Stretch" PreviewMouseLeftButtonDown="txtTitle_MouseDown" TextTrimming="CharacterEllipsis" />
        </Border>
        <Border HorizontalAlignment="Left" Margin="0,0,0,0" BorderThickness="0,0,0,0" Padding="0,0,0,0" Grid.Column="1" Visibility="Collapsed">
            <Border.BorderBrush>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#B2515151" Offset="0"/>
                    <GradientStop Color="#80FFFFFF" Offset="1"/>
                </LinearGradientBrush>
            </Border.BorderBrush>
            <TextBox FontFamily="Berlin Sans FB" FontSize="12" Foreground="Black" Text="TextBlock" TextWrapping="Wrap" Width="Auto" Height="20" Padding="1,1,1,1" FontWeight="Normal" Background="White" HorizontalAlignment="Stretch" LostFocus="TextBox_LostFocus" PreviewKeyDown="TextBox_PreviewKeyDown" />
        </Border>
    </Grid>
</UserControl>
